#ifndef _MYMCFG_H
#define _MYMCFG_H

#include "mgos_service_config.h"
#include "fw/include/mgos_sys_config.h"
#include "mgos_rpc.h"
#include "common/json_utils.h"
#include "frozen/frozen.h"
#include "fw/src/mgos_hal.h"
#include "fw/include/mgos_timers.h"
#include "fw/include/mgos.h"
#include "mgos_http_server.h"
#include "string.h"
#include "sht1x_v3.h"
#include "relay.h"

#define TZ 8
#define MGOS_F_RELOAD_CONFIG MG_F_USER_5
#define SIZE_INFO 512
#define JSON_HEADERS "Connection: close\r\nContent-Type: application/json"

bool hi(char *msg);
void cb_myRpcConfig(struct mg_rpc_request_info *ri, const char *args,
                    const char *src, void *user_data);
void info_update(float t, float h);

#endif